package fun.yyds.entity.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@Schema(description = "AiMsg")
public class AiMsg implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;

    @Schema(description = "model")
    private String model;

    @Schema(description = "userName")
    private String userName;

    @Schema(description = "userMsg")
    private String userMsg;

    @Schema(description = "resMsg")
    private String resMsg;

    @Schema(description = "size")
    private String size;

    @Schema(description = "类型")
    private String type;

    @Schema(description = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;


}
